<?php

class Kzend_View_Helper_RecordHidden extends Zend_View_Helper_Abstract
{
	public function recordHidden($daobj)
	{
		$hidstr = "";
		$objArray = (array)$daobj;
		foreach($objArray as $key => $val) {
			$hidstr .= '<input type="hidden" name="'.$key.'" value="'.$val.'"/>';
		}

		return $hidstr;
	}
}
